<style>
.td {
    border-width: 1px;
    border-style: solid;
    border-color: black;   
}

</style>
<table align="center">
<tr>
    <th>Project Name</th>
    <th>CRAP&nbsp;&nbsp;</th>
    <th>CRAPload&nbsp;&nbsp;</th>
    <th>CRAP methods&nbsp;&nbsp;</th>
    <th>Total methods&nbsp;&nbsp;</th>
  </tr> 
<% for stat in @stats %>  


 <tr  >
    <td><%= link_to truncate(h(stat.project_name),30,'...'), stat_path(stat)%></td>
    <td><%=h stat.crap %></td>
    <td><%=h stat.crap_load %></td>
    <td><%=h stat.crap_methods %></td>
    <td><%=h stat.total_methods %></td>
    </tr>
<% end %>
</table>